package com.chagee.store.operation.api.request;

import com.chagee.store.operation.api.bo.FileBO;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author : hk
 * @Date : 2025/2/20
 */

@Data
@Accessors(chain = true)
public class SettlementRejectedRequest implements Serializable {
	private static final long serialVersionUID = 2979744829522685898L;

	/**
	 * 单据编号
	 */
	@NotNull(message = "单据编号不能为空")
	private String settlementNo;

	/**
	 * 驳回原因
	 */
	@NotNull(message = "驳回原因不能为空")
	private String rejectedReason;

	/**
	 * 驳回附件
	 */
	private List<FileBO> rejectedAttachment;


	public SettlementRejectedRequest() {
	}

	public SettlementRejectedRequest(String settlementNo,  String rejectedReason, List<FileBO> rejectedAttachment) {
		this.settlementNo = settlementNo;
		this.rejectedReason = rejectedReason;
		this.rejectedAttachment = rejectedAttachment;
	}

	public String getSettlementNo() {
		return settlementNo;
	}

	public void setSettlementNo(String settlementNo) {
		this.settlementNo = settlementNo;
	}

	public String getRejectedReason() {
		return rejectedReason;
	}

	public void setRejectedReason(String rejectedReason) {
		this.rejectedReason = rejectedReason;
	}

	public List<FileBO> getRejectedAttachment() {
		return rejectedAttachment;
	}

	public void setRejectedAttachment(List<FileBO> rejectedAttachment) {
		this.rejectedAttachment = rejectedAttachment;
	}
}
